package org.song.constant;

/**
 * 自定义的删除常量码
 */
public enum Deleted {
    YES( (byte) 1 , "删除"),
    NO( (byte) 0 , "未删除")
    ;
    private Byte code;
    private String msg;

    Deleted(Byte code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Byte getCode() {
        return code;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
